package cn.stronglink.assetmanage.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.Transient;

/**
 * Created by Tgb on 2018/6/15.
 * 查询资产数据
 */
@Entity
public class SearchAsset {

    /**
     * assetId_ :
     * assetName : 222222
     * assetNo : 3434
     * assetPid_ :
     * brandId : 880773483166789600
     * brandId_ : 880773483166789696
     * brandName : DELL
     * buyTime : 2017-07-07 23:36:23
     * createTime : 2018-02-06 14:49:50
     * datacenterId : 951457404560257000
     * datacenterId_ : 951457404560257024
     * endU : 3
     * endUser : 879224697238376448
     * expirationTime : 2017-07-12 22:11:13
     * hotline : 18810390810
     * id : 960767470911496200
     * id_ : 960767470911496192
     * invoiceNo : DB001001
     * ip : ip
     * isBorrow : false
     * isDistribute : false
     * isLight : 0
     * manageBranchId : 876031648509214700
     * manageBranchId_ : 876031648509214720
     * modelId : 880773483166789800
     * modelId_ : 880773483166789703
     * modelName : DELL FC830
     * price : 777
     * rackId : 958251230351859700
     * rackId_ : 958251230351859712
     * rackName : 123
     * rfidNo : qwe55577
     * roomId : 955419093706145800
     * roomId_ : 955419093706145792
     * roomName : ie11-机房
     * serialNo : 5566
     * startU : 3
     * status : 1
     * typeId : 878584558021079000
     * typeId_ : 878584558021079056
     * typeName : DELL服务器
     * updateBy : 878827689403076600
     * updateTime : 2018-03-12 16:18:31
     * useBranchId : 876031601730142200
     * useBranchId_ : 876031601730142208
     */

    @Id
    private Long search_asset_id;
    private String assetName;
    private String assetNo;
    private long brandId;
    private String brandId_;
    private String brandName;
    private String buyTime;
    private long datacenterId;
    private String datacenterId_;
    private String endUser;
    private long id;
    private String id_;
    private long manageBranchId;
    private String manageBranchId_;
    private long modelId;
    private String modelId_;
    private String modelName;
    private int price;
    //为空则是机柜，不能作为资产存在
    private long rackId;
    private String rackId_;
    private String rackName;
    private String rfidNo;
    private long roomId;
    private String roomId_;
    private String roomName;
    private String serialNo;
    private int status;
    private long typeId;
    private String typeId_;
    private String typeName;
    private long useBranchId;
    private String useBranchId_;
    private String pictureUri;
    private Long updateBy;
    private String updateTime;
    private boolean isUpdate;
    private String endUserName;
    private String supplier;
    @Transient
    private String imgPath;        // 上传

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getSupplier() {
        return this.supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getEndUserName() {
        return this.endUserName;
    }

    public void setEndUserName(String endUserName) {
        this.endUserName = endUserName;
    }

    public boolean getIsUpdate() {
        return this.isUpdate;
    }

    public void setIsUpdate(boolean isUpdate) {
        this.isUpdate = isUpdate;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateBy() {
        return this.updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public String getPictureUri() {
        return this.pictureUri;
    }

    public void setPictureUri(String pictureUri) {
        this.pictureUri = pictureUri;
    }

    public String getUseBranchId_() {
        return this.useBranchId_;
    }

    public void setUseBranchId_(String useBranchId_) {
        this.useBranchId_ = useBranchId_;
    }

    public long getUseBranchId() {
        return this.useBranchId;
    }

    public void setUseBranchId(long useBranchId) {
        this.useBranchId = useBranchId;
    }

    public String getTypeName() {
        return this.typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeId_() {
        return this.typeId_;
    }

    public void setTypeId_(String typeId_) {
        this.typeId_ = typeId_;
    }

    public long getTypeId() {
        return this.typeId;
    }

    public void setTypeId(long typeId) {
        this.typeId = typeId;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSerialNo() {
        return this.serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getRoomName() {
        return this.roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getRoomId_() {
        return this.roomId_;
    }

    public void setRoomId_(String roomId_) {
        this.roomId_ = roomId_;
    }

    public long getRoomId() {
        return this.roomId;
    }

    public void setRoomId(long roomId) {
        this.roomId = roomId;
    }

    public String getRfidNo() {
        return this.rfidNo;
    }

    public void setRfidNo(String rfidNo) {
        this.rfidNo = rfidNo;
    }

    public String getRackName() {
        return this.rackName;
    }

    public void setRackName(String rackName) {
        this.rackName = rackName;
    }

    public String getRackId_() {
        return this.rackId_;
    }

    public void setRackId_(String rackId_) {
        this.rackId_ = rackId_;
    }

    public long getRackId() {
        return this.rackId;
    }

    public void setRackId(long rackId) {
        this.rackId = rackId;
    }

    public int getPrice() {
        return this.price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getModelName() {
        return this.modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelId_() {
        return this.modelId_;
    }

    public void setModelId_(String modelId_) {
        this.modelId_ = modelId_;
    }

    public long getModelId() {
        return this.modelId;
    }

    public void setModelId(long modelId) {
        this.modelId = modelId;
    }

    public String getManageBranchId_() {
        return this.manageBranchId_;
    }

    public void setManageBranchId_(String manageBranchId_) {
        this.manageBranchId_ = manageBranchId_;
    }

    public long getManageBranchId() {
        return this.manageBranchId;
    }

    public void setManageBranchId(long manageBranchId) {
        this.manageBranchId = manageBranchId;
    }

    public String getId_() {
        return this.id_;
    }

    public void setId_(String id_) {
        this.id_ = id_;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getEndUser() {
        return this.endUser;
    }

    public void setEndUser(String endUser) {
        this.endUser = endUser;
    }

    public String getDatacenterId_() {
        return this.datacenterId_;
    }

    public void setDatacenterId_(String datacenterId_) {
        this.datacenterId_ = datacenterId_;
    }

    public long getDatacenterId() {
        return this.datacenterId;
    }

    public void setDatacenterId(long datacenterId) {
        this.datacenterId = datacenterId;
    }

    public String getBuyTime() {
        return this.buyTime;
    }

    public void setBuyTime(String buyTime) {
        this.buyTime = buyTime;
    }

    public String getBrandName() {
        return this.brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBrandId_() {
        return this.brandId_;
    }

    public void setBrandId_(String brandId_) {
        this.brandId_ = brandId_;
    }

    public long getBrandId() {
        return this.brandId;
    }

    public void setBrandId(long brandId) {
        this.brandId = brandId;
    }

    public String getAssetNo() {
        return this.assetNo;
    }

    public void setAssetNo(String assetNo) {
        this.assetNo = assetNo;
    }

    public String getAssetName() {
        return this.assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public Long getSearch_asset_id() {
        return this.search_asset_id;
    }

    public void setSearch_asset_id(Long search_asset_id) {
        this.search_asset_id = search_asset_id;
    }

    @Keep
    public SearchAsset(Long search_asset_id, String assetName, String assetNo, long brandId,
                       String brandId_, String brandName, String buyTime, long datacenterId,
                       String datacenterId_, String endUser, long id, String id_, long manageBranchId,
                       String manageBranchId_, long modelId, String modelId_, String modelName,
                       int price, long rackId, String rackId_, String rackName, String rfidNo,
                       long roomId, String roomId_, String roomName, String serialNo, int status,
                       long typeId, String typeId_, String typeName, long useBranchId,
                       String useBranchId_, String pictureUri, Long updateBy, String updateTime,
                       boolean isUpdate, String endUserName, String supplier) {
        this.search_asset_id = search_asset_id;
        this.assetName = assetName;
        this.assetNo = assetNo;
        this.brandId = brandId;
        this.brandId_ = brandId_;
        this.brandName = brandName;
        this.buyTime = buyTime;
        this.datacenterId = datacenterId;
        this.datacenterId_ = datacenterId_;
        this.endUser = endUser;
        this.id = id;
        this.id_ = id_;
        this.manageBranchId = manageBranchId;
        this.manageBranchId_ = manageBranchId_;
        this.modelId = modelId;
        this.modelId_ = modelId_;
        this.modelName = modelName;
        this.price = price;
        this.rackId = rackId;
        this.rackId_ = rackId_;
        this.rackName = rackName;
        this.rfidNo = rfidNo;
        this.roomId = roomId;
        this.roomId_ = roomId_;
        this.roomName = roomName;
        this.serialNo = serialNo;
        this.status = status;
        this.typeId = typeId;
        this.typeId_ = typeId_;
        this.typeName = typeName;
        this.useBranchId = useBranchId;
        this.useBranchId_ = useBranchId_;
        this.pictureUri = pictureUri;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.isUpdate = isUpdate;
        this.endUserName = endUserName;
        this.supplier = supplier;
    }

    @Keep
    public SearchAsset() {
    }

}
